package org.framework.lazy.cloud.network.heartbeat.server.cluster.application.command.lazy.netty.cluster.node;

import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.v3.oas.annotations.media.Schema;
import org.framework.lazy.cloud.network.heartbeat.common.enums.NettyClientStatus;

import java.lang.String;
import java.lang.Integer;
import java.time.LocalDateTime;
import java.lang.Boolean;
/**
 * describe 集群配置信息 
 *
 * @author Jia wei Wu
 * @date 2024/04/12 02:16 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyUpdateCommand 
 **/
@Data
@Accessors(chain = true)
@Schema(title = "lazy_netty_cluster_node_update_command",description = "集群配置信息")
public class LazyNettyClusterNodeUpdateCommand {


    /**
     * 
     * 集群节点host
     */
    @Schema(description ="集群节点host",name ="clusterNodeHost",example = "")
    private String clusterNodeHost;

    /**
     * 
     * 集群节点ID
     */
    @Schema(description ="集群节点ID",name ="clusterNodeId",example = "")
    private String clusterNodeId;

    /**
     * 
     * 集群节点端口
     */
    @Schema(description ="集群节点端口",name ="clusterNodePort",example = "")
    private Integer clusterNodePort;

    /**
     * 
     * 创建时间
     */
    @Schema(description ="创建时间",name ="createTime",example = "")
    private LocalDateTime createTime;

    /**
     * 
     * 是否删除
     */
    @Schema(description ="是否删除",name ="isDeleted",example = "")
    private Boolean isDeleted;

    /**
     * 
     * 角色
     */
    @Schema(description ="角色",name ="role",example = "")
    private String role;

    /**
     * 
     * 更新时间
     */
    @Schema(description ="更新时间",name ="updateTime",example = "")
    private LocalDateTime updateTime;
    /**
     * 在线状态（true在线，false离线）
     */
    @Schema(description = "在线状态（true在线，false离线）", name = "clusterNodeStatus", example = "")
    private NettyClientStatus clusterNodeStatus;

}